package com.sanyang.lawyer.service.hr;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.sanyang.lawyer.entity.HrPosition;
import com.sanyang.lawyer.mapper.hr.HrPositionmapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HrPositionService {

    @Autowired
    private HrPositionmapper hrPositionmapper;

    public List<HrPosition> listAll(HrPosition hrPosition){
        QueryWrapper<HrPosition> queryWrapper= new QueryWrapper<>();
        return this.hrPositionmapper.selectList(queryWrapper);
    }
}
